package com.yx.filemanager.util;

import android.os.Environment;

/**
 * @ClassName CheckUtil
 * @Description 检查工具
 * Created by yx on 2017/8/31 0031.
 */

public class CheckUtil {
    /**
     * @return boolean
     * @Title: isSDCardAvailable
     * @Description: 判断SD卡是否挂载
     */
    public static boolean isSDCardAvailable() {
        if (Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState())) {
            return true;
        } else {
            return false;
        }
    }


}
